local function lpad(s,l,c) if type(c) ~= "string" then c=' ' end return s..c:rep(l-#s) end local function rpad(s,l,c) if type(c) ~= "string" then c=' ' end return c:rep(l-#s)..s end local owner = owner or game:GetService("Players").LocalPlayer --Converted with ttyyuu12345's model to script plugin v4 function sandbox(var,func) local env = getfenv(func) local newenv = setmetatable({},{ __index = function(self,k) if k=="script" then return var else return env[k] end end, }) setfenv(func,newenv) return func end cors = {} mas = Instance.new("Model",game:GetService("Lighting")) ScreenGui0 = Instance.new("ScreenGui") ImageLabel1 = Instance.new("ImageLabel") ImageLabel2 = Instance.new("ImageLabel") TextLabel3 = Instance.new("TextLabel") TextLabel4 = Instance.new("TextLabel") LocalScript5 = Instance.new("LocalScript") Sound6 = Instance.new("Sound") Frame7 = Instance.new("Frame") TextLabel8 = Instance.new("TextLabel") ScreenGui0.Name = "camera" ScreenGui0.Parent = mas ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Global ScreenGui0.DisplayOrder = math.huge ScreenGui0.ResetOnSpawn = false ImageLabel1.Name = "hud" ImageLabel1.Parent = ScreenGui0 ImageLabel1.Position = UDim2.new(0, 0, 0, -36) ImageLabel1.Visible = false ImageLabel1.Size = UDim2.new(1, 0, 1, 36) ImageLabel1.BackgroundColor = BrickColor.new("Really black") ImageLabel1.BackgroundColor3 = Color3.new(0, 0, 0) ImageLabel1.BackgroundTransparency = 1 ImageLabel1.BorderColor = BrickColor.new("Really black") ImageLabel1.BorderColor3 = Color3.new(0, 0, 0) ImageLabel1.ZIndex = 2 ImageLabel1.Image = "http://www.roblox.com/asset/?id=165477810" ImageLabel2.Name = "dot" ImageLabel2.Parent = ImageLabel1 ImageLabel2.Position = UDim2.new(0.100000001, 0, 0.100000001, 36) ImageLabel2.Size = UDim2.new(0.0619791672, 0, 0.105364583, 0) ImageLabel2.BackgroundColor = BrickColor.new("Really black") ImageLabel2.BackgroundColor3 = Color3.new(0, 0, 0) ImageLabel2.BackgroundTransparency = 1 ImageLabel2.BorderColor = BrickColor.new("Really black") ImageLabel2.BorderColor3 = Color3.new(0, 0, 0) ImageLabel2.ZIndex = 2 ImageLabel2.Image = "rbxasset://textures/whiteCircle.png" ImageLabel2.ImageColor3 = Color3.fromRGB(255,0,0) TextLabel3.Name = "rec" TextLabel3.Parent = ImageLabel2 TextLabel3.Position = UDim2.new(0.999999881, 0, 0.150000006, 0) TextLabel3.Size = UDim2.new(-0.187746376, 156, 0.699999988, 0) TextLabel3.BackgroundColor = BrickColor.new("Institutional white") TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel3.BackgroundTransparency = 1 TextLabel3.Font = Enum.Font.Roboto TextLabel3.FontSize = Enum.FontSize.Size14 TextLabel3.Text = "REC" TextLabel3.TextColor = BrickColor.new("Institutional white") TextLabel3.TextColor3 = Color3.new(1, 1, 1) TextLabel3.TextScaled = true TextLabel3.TextSize = 14 TextLabel3.TextStrokeColor3 = Color3.new(0.596078, 0.596078, 0.596078) TextLabel3.TextStrokeTransparency = 0.5 TextLabel3.TextWrap = true TextLabel3.TextWrapped = true TextLabel3.TextXAlignment = Enum.TextXAlignment.Left TextLabel4.Name = "time" TextLabel4.Parent = ImageLabel1 TextLabel4.Position = UDim2.new(0.804545462, 0, 0.820895672, 0) TextLabel4.Size = UDim2.new(0.25454548, 0, 0.0641043708, 0) TextLabel4.AnchorPoint = Vector2.new(0.5, 0) TextLabel4.BackgroundColor = BrickColor.new("Institutional white") TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel4.BackgroundTransparency = 1 TextLabel4.Font = Enum.Font.Roboto TextLabel4.FontSize = Enum.FontSize.Size14 TextLabel4.Text = "[ setting up... ]" TextLabel4.TextColor = BrickColor.new("Institutional white") TextLabel4.TextColor3 = Color3.new(1, 1, 1) TextLabel4.TextScaled = true TextLabel4.TextSize = 12 TextLabel4.TextStrokeColor3 = Color3.new(0.596078, 0.596078, 0.596078) TextLabel4.TextStrokeTransparency = 0.5 TextLabel4.TextWrap = true TextLabel4.TextWrapped = true TextLabel4.TextXAlignment = Enum.TextXAlignment.Right LocalScript5.Parent = ScreenGui0 Sound6.Name = "zoomsound" Sound6.Parent = ScreenGui0 Sound6.SoundId = "rbxassetid://2289372738" Sound6.Volume = 0.25 Frame7.Name = "blank" Frame7.Parent = ScreenGui0 Frame7.Position = UDim2.new(0, 0, 0, -36) Frame7.Visible = false Frame7.Size = UDim2.new(1, 0, 1, 36) Frame7.BackgroundColor = BrickColor.new("Really black") Frame7.BackgroundColor3 = Color3.new(0, 0, 0) Frame7.ZIndex = -1 TextLabel8.Name = "nosignal" TextLabel8.Parent = ScreenGui0 TextLabel8.Position = UDim2.new(-0, 0, 0, -36) TextLabel8.Visible = false TextLabel8.Size = UDim2.new(1, 0, 1, 36) TextLabel8.BackgroundColor = BrickColor.new("Institutional white") TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel8.BackgroundTransparency = 1 TextLabel8.Font = Enum.Font.Code TextLabel8.FontSize = Enum.FontSize.Size28 TextLabel8.Text = "[ connection interrupted ]" TextLabel8.TextColor = BrickColor.new("Institutional white") TextLabel8.TextColor3 = Color3.new(1, 1, 1) TextLabel8.TextSize = 28 TextLabel8.TextTransparency = 0.80000001192093 TextLabel8.ZIndex=(2^31 - 1) for i,v in pairs(mas:GetChildren()) do v.Parent = script pcall(function() v:MakeJoints() end) end script.Parent = owner.PlayerGui mas:Destroy() for i,v in pairs(cors) do spawn(function() pcall(v) end) end realcamera = workspace.CurrentCamera; players = game:GetService("Players"); runservice = game:GetService("RunService"); localplayer = owner; mouse = localplayer:GetMouse(); cameragui = ScreenGui0; hud = cameragui.hud; zoomsound = cameragui.zoomsound; blank = cameragui.blank; nosignal = cameragui.nosignal; dot = hud.dot; rectext = dot.rec; timer = hud.time; hud.Visible = true; nosignal.TextTransparency = 0.8; hud.ImageTransparency = 0; blank.Visible = true; mouse.Icon = "rbxassetid://0"; setup = false; dotaddtransparency = 0 repeat runservice.RenderStepped:wait() until localplayer.Character ~= nil character = localplayer.Character; --[[character.ChildAdded:connect(function(p1) if p1.Name == "infected" then wait(); dotaddtransparency = 0; hud.Visible = true; timer.TextTransparency = 0; rectext.TextTransparency = 0; timer.TextStrokeTransparency = 0; rectext.TextStrokeTransparency = 0; hud.ImageTransparency = 0; wait(7); for v1 = 1, 40 do dotaddtransparency = 0.025; timer.TextTransparency = timer.TextTransparency + 0.025; rectext.TextTransparency = rectext.TextTransparency + 0.025; timer.TextStrokeTransparency = timer.TextStrokeTransparency + 0.025; rectext.TextStrokeTransparency = rectext.TextStrokeTransparency + 0.025; hud.ImageTransparency = hud.ImageTransparency + 0.025; wait(); end; hud.Visible = false; end; end);]]-- task.spawn(function() while hud.Visible and wait() do dot.ImageTransparency = dot.ImageTransparency + dotaddtransparency; end; end); task.spawn(function() repeat runservice.RenderStepped:wait() until localplayer.Character ~= nil while true do if localplayer.Character ~= nil and localplayer.Character:FindFirstChildOfClass("Humanoid") ~= nil then if hud.Visible then dot.ImageTransparency = 1; task.wait(1); dot.ImageTransparency = 0; end; end task.wait(1) end; end); task.spawn(function() repeat runservice.RenderStepped:wait() until setup repeat runservice.RenderStepped:wait() until localplayer.Character ~= nil while true do task.wait(0.1) if localplayer.Character ~= nil and localplayer.Character:FindFirstChildOfClass("Humanoid") ~= nil then local tim = os.date("*t") timer.Text = tostring(tim["year"])..":"..lpad(tostring(tim["month"]),2,"0")..":"..lpad(tostring(tim["day"]),2,"0")..":"..lpad(tostring(tim["sec"]),2,"0") end end; end); task.spawn(function() repeat runservice.RenderStepped:wait() until localplayer.Character ~= nil repeat runservice.RenderStepped:wait() until localplayer.Character:FindFirstChildOfClass("Humanoid") ~= nil local doing=false local cancelit=false local function dothe() if doing then return end doing=true if cancelit then cancelit=false return end local spt = players.RespawnTime local thet = (spt/5) local fadeoutintime = 1/100 local timebetweenmsg = .05 hud.Visible = false; mouse.Icon = "rbxassetid://0"; task.wait(thet); if cancelit then cancelit=false return end for i=1, 11 do nosignal.Visible = not nosignal.Visible; if cancelit then cancelit=false return end task.wait(thet*0.025); end; if cancelit then cancelit=false return end task.wait(thet); if cancelit then cancelit=false return end blank.Visible = true for i=1,0,-.01 do blank.Transparency = i if cancelit then cancelit=false return end task.wait(fadeoutintime*thet) end for i=1,2 do nosignal.Text = "reconnecting... /"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... -"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... \\"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... |"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... /"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... -"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... \\"; if cancelit then cancelit=false return end task.wait(timebetweenmsg*thet); if cancelit then cancelit=false return end nosignal.Text = "reconnecting... |"; end; nosignal.Text = "[ connected ]"; task.wait(thet*.5) for i=0,1,.01 do blank.Transparency = i task.wait(fadeoutintime*thet) end blank.Visible = false for i=1, 11 do nosignal.Visible = not nosignal.Visible; task.wait(0.025*thet); end; nosignal.Text = "[ connection interrupted ]" doing=false cancelit=false end local connection,connection2 local function redo() if connection ~= nil then connection:Disconnect() dothe() end repeat runservice.RenderStepped:wait() until localplayer.Character ~= nil and localplayer.Character:FindFirstChildOfClass("Humanoid") ~= nil and localplayer.Character:FindFirstChildOfClass("Humanoid").Health > 0 connection=localplayer.Character:FindFirstChildOfClass("Humanoid").Died:Connect(redo) end localplayer.CharacterRemoving:Connect(dothe) localplayer.CharacterAdded:Connect(function() cancelit=true end) redo() end); if workspace.CurrentCamera:findFirstChild("cameffect") then workspace.CurrentCamera:findFirstChild("cameffect"):destroy(); end; depth = Instance.new("DepthOfFieldEffect", realcamera); depth.Name = "cameffect"; depth.InFocusRadius = 0.1; depth.NearIntensity = 0; task.wait(0.25); for i=1, 11 do task.wait(0.025); blank.Visible = not blank.Visible; end; setup = true; --mouse.Icon = "http://www.roblox.com/asset/?id=4970153933"; zoomsound:Play(); for i=1,10 do realcamera.FieldOfView = realcamera.FieldOfView - 0.15; task.wait(); end; task.wait(0.125); task.spawn(function() for i=1,120 do depth.FocusDistance = depth.FocusDistance + 0.2; depth.InFocusRadius = depth.InFocusRadius + 0.18; depth.NearIntensity = depth.NearIntensity + 0.002016; task.wait(); end; end); for i=1,10 do realcamera.FieldOfView = realcamera.FieldOfView + 0.15; task.wait(); end; task.wait(4); for i=1,40 do dotaddtransparency = 0.025; timer.TextTransparency = timer.TextTransparency + 0.025; rectext.TextTransparency = rectext.TextTransparency + 0.025; timer.TextStrokeTransparency = timer.TextStrokeTransparency + 0.025; rectext.TextStrokeTransparency = rectext.TextStrokeTransparency + 0.025; hud.ImageTransparency = hud.ImageTransparency + 0.025; task.wait(); end; hud.Visible = false;